break;
}
// fall through
+ case 0:
case MSG_ACK:
case MSG_NACK:
case MSG_SATELLITE_INFO:
message_write(batch_array[i].msg_id, &batch_array[i].msg);
}
// fall through
+ case 0:
case MSG_NACK:
case MSG_SATELLITE_INFO:
continue;
static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
static pthread_cond_t cond = PTHREAD_COND_INITIALIZER;
static char* report_buf;
-static char* packet_array[8];
+static char* packet_array[32];
static unsigned packet_array_head;
static unsigned packet_array_tail;
static CFRunLoopRef run_loop;